package top.canyue.eca_manager.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ReDetail {
    @Id
    private String id;
    private String user_id;
    private String name;
    private String phone;
    private boolean admin;
    private int sad;
    private int angry;
    private int surprise;
    private int fear;
    private int happy;
    private int disgust;
    private int neutral;

    @Override
    public String toString() {
        return "{" +
                "id:'" + id + '\'' +
                ", userId:'" + user_id + '\'' +
                ", name:'" + name + '\'' +
                ", phone:'" + phone + '\'' +
                ", admin:" + admin +
                ", sad:" + sad +
                ", angry:" + angry +
                ", surprise:" + surprise +
                ", fear:" + fear +
                ", happy:" + happy +
                ", disgust:" + disgust +
                ", neutral:" + neutral +
                '}';
    }
}
